package org.dromara.erp.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapper;
import org.dromara.erp.domain.ErpWarehousing;

/**
 * 采购入库Mapper接口
 *
 * @author Mr Lei
 * @date 2024-06-05
 */
public interface ErpWarehousingMapper extends BaseMapper<ErpWarehousing> {
    /*单条查询*/
    ErpWarehousing findById(Long id);
    /*生成默认标题*/
    Integer selectByBuyTimeCount(String formatDate);
    /*查询列表-带分页*/
    Page<ErpWarehousing> queryPageList(@Param("page") Page<ErpWarehousing> page, @Param("bo") ErpWarehousing bo);
}
